package com.bayes.teamshow.dao;

import com.bayes.teamshow.pojo.UserLwwen;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface IUserDAO extends JpaRepository<UserLwwen, String> {
	@Query(value = "SELECT * FROM user u where u.id = ?1", nativeQuery = true)
	UserLwwen findById(int id);
}
